package com.sf.algo.solve.domain;

public class Distance {
	
	private Location from;
	
	private Location to;
	
	private int value;

	public Location getFrom() {
		return from;
	}

	public void setFrom(Location from) {
		this.from = from;
	}

	public Location getTo() {
		return to;
	}

	public void setTo(Location to) {
		this.to = to;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
	
	@Override
	public String toString() {
		return String.format("<%s->%s,%s>", from, to, value);
	}
}
